﻿@model PagedList<kxcxw.Data.Entities.PublichInformation>
@{
    ViewBag.Title = "开心促销网-" + (ViewData["type"].ToString() == "1" ? "网店" : "实体店") + "-" + ViewData["CategoryName"];
    Layout = "~/Views/Shared/_MyInfoLayout.cshtml";
    var categoryId1 = ViewData["categoryId"];
}
<div class="seachresults big">
    <h3>
        @ViewData["CategoryName"] - 商品筛选</h3>
    @if (ViewData["resultCount"] != null & Convert.ToInt32(ViewData["resultCount"]) > 0)
    {
        <div class="seacrch_Condition">
            <ul class="area">
                <li class="label">信息类别：</li>
                <li class='@(ViewData["type"] == "" ? "current" : "")'>@Html.ActionLink("全部", "ProductList", "Home", new { categoryId = categoryId1 }, null)</li>
                <li class='@(ViewData["type"].ToString() == "1" ? "current" : "")'>@Html.ActionLink("网店", "ProductList", "Home", new { categoryId = categoryId1, typeId = 1 }, null)</li>
                <li class='@(ViewData["type"].ToString() == "2" ? "current" : "")'>@Html.ActionLink("实体店", "ProductList", "Home", new { categoryId = categoryId1, typeId = 2 }, null)</li></ul>
            @Html.Partial("_Filter")
        </div>
        @Html.Partial("_SearchList", Model)
    }
    else
    {
        @Html.Partial("_NullResult", ViewData["CategoryName"])
    }
</div>
